﻿@model CommonShop.Web.Models.RegisterModel

@{
    ViewBag.Title = "注册新用户";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm())
{
    <h2>@Html.LabelFor(m => m.UserName)</h2>
    <h2>@Html.TextBoxFor(m => m.UserName)</h2>
    @Html.ValidationMessageFor(m => m.UserName)
    
    <h2>@Html.LabelFor(m => m.Password)</h2>
    <h2>@Html.TextBoxFor(m => m.Password)</h2>
    @Html.ValidationMessageFor(m => m.Password)
    
    
    <h2>@Html.LabelFor(m => m.ConfirmPassword)</h2>
    <h2>@Html.TextBoxFor(m => m.ConfirmPassword)</h2>
    @Html.ValidationMessageFor(m => m.ConfirmPassword)
    
    
    <h2>@Html.LabelFor(m => m.Email)</h2>
    <h2>@Html.TextBoxFor(m => m.Email)</h2>
    @Html.ValidationMessageFor(m => m.Email)
    
    
    <input type = "submit" value = "注册" />
}
